﻿using System.Web.Mvc;

namespace LX.Web.Mvc.SafeCode
{
    public class WebUtilsAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Security";
            }
        }

        public override void RegisterArea( AreaRegistrationContext context )
        {
            context.MapRoute(
                "WebUtils_SafeCode",
                "Security/SafeCode",
                new
                {
                    Controller = "Security",
                    Action = "SafeCode"
                }
            );
        }
    }
}
